<template>
  <div class="pageNav">
    <el-breadcrumb separator="/">
      <el-breadcrumb-item v-for="(item,index) in titlearr"
                          :key="index"
                          :to="{ path: item.path }">{{item.name}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>
<script>
export default {
  name: "props",
  props: ["titlearr"],
  data () {
    return {
    }
  }
}
</script>
<style lang="less" scoped>
.pageNav {
  // background: white;
  background: white;
  padding: 30px 0 10px 90px;
  box-sizing: border-box;
  line-height: 60px;
  .el-breadcrumb__item {
    font-size: 25px;
  }
}
</style>